// 连接后端的路径
const url = "http://localhost:8081"

const urls = class {
  static m() {
    const registerByUsername = `${url}/user/register`
    const regiseterByEmail = `${url}/user/registerByEmail`
    const pwdLogin = `${url}/login/login`
    const emailLogin = `${url}/login/loginByEmail`

    return {
      registerByUsername,
      regiseterByEmail,
      pwdLogin,
      emailLogin
    }
  }
}

export default urls
